package com.xgp.labblog.service;


import com.xgp.labblog.model.Writes;

import java.util.List;

public interface WriteService {

    //1，查询时间在前面五条的文章
    List<Writes> FindWriteByTime(Integer n);

    void addSupCount(Integer id);

    List<Writes> FindWriteRand(int i);

    Writes FindWriteById(Integer id);

    void addReadCount(Writes write);

    List<Writes> FindWriteByTimeAndTitle(int i, String title);
}
